package com.bootdo.staff.service;

import com.bootdo.common.domain.Tree;
import com.bootdo.staff.domain.StaffMenuDO;

import java.util.List;
import java.util.Map;

/**
 * 菜单表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-23 13:58:59
 */
public interface StaffMenuService {
	
	StaffMenuDO get(Long smenuId);
	
	List<StaffMenuDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StaffMenuDO staffMenu);
	
	int update(StaffMenuDO staffMenu);
	
	int remove(Long smenuId);
	
	int batchRemove(Long[] smenuIds);

	List<StaffMenuDO> getMenuByStaffId(Long staffId);

	Tree<StaffMenuDO> getTree();

	Tree<StaffMenuDO> getTree(Long id);

}
